TaskObservableMethodBuilder.SetResult(T) method¶
Defined in
Type: TaskObservableMethodBuilderSystem.Runtime.CompilerServices
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public void SetResult(T result)
Summary: Marks the observable as successfully completed.
Parameters
| Name | Type | Description |
|---|---|---|
result | T | The result to use to complete the observable sequence. |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | The observable has already completed. |